
enum OpenAIMessageRoleEnum {
  // 系统
  System = 'ai',
  // 用户
  User = 'human',
  // 助理
  Assistant = 'ai'
}

enum ChatMessageTypeEnum {
  Text = 'txt',
}

enum ChatSendTypeEnum {
  // 机器人
  Robot = 'ai',
  // 咨询人
  User = 'user',
}

enum ChatSourceDocumentTypeEnum {
  Wiki = 1,
  IM = 2
}

const ChatLikeStatusEnum = {
  Like: 1,
  DisLike: 0,
  Empty: null
}

enum ComponentNameEnum {
  ChatAIView = 'chat-ai-view',
  ChatAIIndex = 'chat-ai-index',
  ChatAIFrame = 'chat-ai-frame',
  ChatAIInputBar = 'chat-ai-input-bar',
  ChatAITextInput = 'chat-ai-text-input',
  ChatAIHistoryMessageTip = 'chat-ai-history-message-tip',
  ChatAIVoiceInput = 'chat-ai-voice-input',
  ChatAIInputWelcomeGuide = 'chat-ai-input-welcome-guide',
  ChatAIOperateButton = 'chat-ai-operate-button',
  ChatAIMessageItem = 'chat-ai-message-item',
  ChatAIMessageItemLoading = 'chat-ai-message-item-loading',
  ChatAIMessageList = 'chat-ai-message-list',
  ChatAIMessageAvatar = 'chat-ai-message-avatar',
  ChatAIAppTag = 'chat-ai-app-tag',
  ChatAIPromptTag = 'chat-ai-prompt-tag',
  ChatAIAppServiceList = 'chat-ai-app-service-list',
  ChatAIAppServiceRadio = 'chat-ai-app-service-radio',
}

export {
  OpenAIMessageRoleEnum,
  ChatMessageTypeEnum,
  ChatSendTypeEnum,
  ComponentNameEnum,
  ChatSourceDocumentTypeEnum,
  ChatLikeStatusEnum
}
